package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_purchase_contract
 * 
 * @author ruoyi
 * @date 2022-01-20
 */
public class SysPurchaseContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String itemNo;

    /** 申请标题 */
    @Excel(name = "申请标题")
    private String applicationTitle;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicant;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** url */
    @Excel(name = "url")
    private String url;

    /** 文件唯一标识 */
    @Excel(name = "文件唯一标识")
    private String onlyName;

    /** 部门提交审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "部门提交审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departmentApprovalTime;

    /** 部门审批人 */
    @Excel(name = "部门审批人")
    private String departmentApprover;

    /** 所提交审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "所提交审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date placeApprovalTime;

    /** 所审批人 */
    @Excel(name = "所审批人")
    private String placeApprover;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemNo(String itemNo) 
    {
        this.itemNo = itemNo;
    }

    public String getItemNo() 
    {
        return itemNo;
    }
    public void setApplicationTitle(String applicationTitle) 
    {
        this.applicationTitle = applicationTitle;
    }

    public String getApplicationTitle() 
    {
        return applicationTitle;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setOnlyName(String onlyName) 
    {
        this.onlyName = onlyName;
    }

    public String getOnlyName() 
    {
        return onlyName;
    }
    public void setDepartmentApprovalTime(Date departmentApprovalTime) 
    {
        this.departmentApprovalTime = departmentApprovalTime;
    }

    public Date getDepartmentApprovalTime() 
    {
        return departmentApprovalTime;
    }
    public void setDepartmentApprover(String departmentApprover) 
    {
        this.departmentApprover = departmentApprover;
    }

    public String getDepartmentApprover() 
    {
        return departmentApprover;
    }
    public void setPlaceApprovalTime(Date placeApprovalTime) 
    {
        this.placeApprovalTime = placeApprovalTime;
    }

    public Date getPlaceApprovalTime() 
    {
        return placeApprovalTime;
    }
    public void setPlaceApprover(String placeApprover) 
    {
        this.placeApprover = placeApprover;
    }

    public String getPlaceApprover() 
    {
        return placeApprover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemNo", getItemNo())
            .append("applicationTitle", getApplicationTitle())
            .append("applicant", getApplicant())
            .append("applicationTime", getApplicationTime())
            .append("fileName", getFileName())
            .append("url", getUrl())
            .append("onlyName", getOnlyName())
            .append("departmentApprovalTime", getDepartmentApprovalTime())
            .append("departmentApprover", getDepartmentApprover())
            .append("placeApprovalTime", getPlaceApprovalTime())
            .append("placeApprover", getPlaceApprover())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
